#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	char arr1[] = "abcdef";
	char arr2[20] = "xxxxxxxxxx";
	strncpy(arr2, arr1, 3);
	printf("%s\n", arr2);

	return 0;
}